#ifndef _LED_H
#define _LED_H

#define SIZE_8 8
#define SIZE_4 4
#define CRU_CLKGATE_CON31 	0xFF76037c  //寄存器的地址
#define GRF_GPIO2A_IOMUX 		0xFF77e000
#define GPIO2_SWPORTA_DDR 	0xFF780004
#define GPIO2_SWPORTA_DR 		0xFF780000

/*定义结构体类型*/
struct rk3399_led_gpio
{
	int gpio;//引脚号
	char* desc;//引脚描述
};

struct led_platform_data
{
	struct rk3399_led_gpio* pled_gpio;
	int nleds;
};

#endif

